from fastapi import APIRouter, Form
# pip install python-multipart
app4 = APIRouter()


@app4.post("/regin")
async def reg(username: str = Form(), password: str = Form()):
    print(f"username: {username}, password: {password}")
    return {
        "username": username,
        "password": password
    }
